package zhtt.example.entry;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/*
*
 * @ClassName : NacosConfig  //类名
 * @Description : nacos中的配置参数  //描述
 * @Author : zhtt  //作者
 * @Date: 2024-10-27 20:26  //时间
*/

@Data
@Component
@ConfigurationProperties(prefix = "user")
public class NacosConfig {
    private String pwd1;
    private String pwd2;
    private String pwd3;

    public String getPwd1() {
        return pwd1;
    }

    public void setPwd1(String pwd1) {
        this.pwd1 = pwd1;
    }

    public String getPwd2() {
        return pwd2;
    }

    public void setPwd2(String pwd2) {
        this.pwd2 = pwd2;
    }

    public String getPwd3() {
        return pwd3;
    }

    public void setPwd3(String pwd3) {
        this.pwd3 = pwd3;
    }
}
